projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bdeff3
)
powerpc/mpc85xx:Disable Debug TLB entry before init_tlbs
author
Prabhakar Kushwaha
<
[email protected]
>
Thu, 13 Jun 2013 04:44:00 +0000
(10:14 +0530)
committer
Andy Fleming
<
[email protected]
>
Thu, 20 Jun 2013 22:08:53 +0000
(17:08 -0500)
init_tlbs() initialize all the TLB entries required for the system.
So disable DEBUG TLB entry before TLB entries initialization.
Signed-off-by: Prabhakar Kushwaha <
[email protected]
>
Signed-off-by: Andy Fleming <
[email protected]
>
arch/powerpc/cpu/mpc85xx/cpu_init_early.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/cpu/mpc85xx/cpu_init_early.c
b/arch/powerpc/cpu/mpc85xx/cpu_init_early.c
index f4403c2d45a6783267c2264c2f31437353492069..837c034be90e5fecf9bfc9946b18ace5c05e8cd0 100644
(file)
--- a/
arch/powerpc/cpu/mpc85xx/cpu_init_early.c
+++ b/
arch/powerpc/cpu/mpc85xx/cpu_init_early.c
@@
-180,5
+180,9
@@
void cpu_init_early_f(void)
invalidate_tlb(1);
+#if defined(CONFIG_SYS_PPC_E500_DEBUG_TLB) && !defined(CONFIG_SPL_BUILD) && !defined(CONFIG_NAND_SPL)
+ disable_tlb(CONFIG_SYS_PPC_E500_DEBUG_TLB);
+#endif
+
init_tlbs();
}